using System;
using System.ComponentModel;
using System.Data;
using System.Runtime.Serialization;
namespace DataAccess
{
    /// <summary>
    /// A custom serializable dataset containing SIG_PLAN_PROGRAMA information.
    /// </summary>
    [Serializable]
    [DesignerCategory("code")]
    public class SigImagenesProgramasData : DataTable
    {
        ///
        /// Constants for table and fields mapping
        ///
        public const String SIG_IMAGENES_PROGRAMAS_TABLE = "SIG_IMAGENES_PROGRAMAS";
        public const String SIP_ID_FIELD = "SIP_ID";
        public const String SPZ_ID_FIELD = "SPZ_ID";
        public const String SIP_NOMBRE_FIELD = "SIP_NOMBRE";
        public const String SIP_DESCRIPCION_FIELD = "SIP_DESCRIPCION";
        public SigImagenesProgramasData()
		{
			BuildDataTables();
		}
        protected SigImagenesProgramasData(SerializationInfo info, StreamingContext context)
		{
			//
		}
        /// <summary>
		/// 
		/// </summary>
		private void BuildDataTables()
		{
            Columns.Add(SIP_ID_FIELD, typeof(Decimal));
            Columns.Add(SPZ_ID_FIELD, typeof(Decimal));
            Columns.Add(SIP_NOMBRE_FIELD, typeof(String));
            Columns.Add(SIP_DESCRIPCION_FIELD, typeof(String));
            TableName = SIG_IMAGENES_PROGRAMAS_TABLE;
		}

        /// <summary>
        /// 
        /// </summary>
        /// <param name="row"></param>
        public void Add(DataRow row)
        {
            Rows.Add(row);
        }
    }
}
